// const apiPerfix = 'https://rohmehlw.engine.lncld.net/1.1/functions'
export default {
  geoconv: 'GET /geoconv',
  queryRouteList: `POST /routes`, //${apiPerfix}
  getdevicesoperate: 'POST /getdevicesoperate',
  queryUserInfo: `POST /user`, ///${apiPerfix}user
  logoutUser: 'POST /logout',
  loginUser: `POST /login`,
  getUploadDatasList: 'POST /getUploadDatasList',
  getRelations: 'POST /getRelations',
  queryMissions: 'POST /queryMissions',
  InvokeMission: 'POST /InvokeMission',
  deleteMission: 'POST /deleteMission',
  PauseMission: 'POST /PauseMission',
  StopMission: 'POST /StopMission',
  ResumeMission: 'POST /ResumeMission',
  reStartMission: 'POST /reStartMission',
  getMissionDetail: 'POST /getMissionDetail',
  subscribeMissionNotify: 'POST /subscribeMissionNotify',
  unsubscribeMissionNotify: 'POST /unsubscribeMissionNotify',

  deviceonfo: 'POST /deviceinfo',
  devices: 'POST /devices',
  operatedashboard: 'POST /operatedashboard',
  Set_Light: 'POST /Set_Light',
  setMode: 'POST /setMode',
  //
  deleteStrategy: 'POST /deleteStrategy',
  updateStrategy: 'POST /updateStrategy',
  createStrategy: 'POST /createStrategy',
  queryStrategy: 'POST /queryStrategy',
  //
  devicerename: 'POST /devicerename',
  // changeimei
  setChannel: 'POST /setChannel',
  delNetWork: 'POST /delNetWork',
  setNetWork: 'POST /setNetWork',
  getAllDeviceGeo: 'POST /getAllDeviceGeo',
  changeCharge: 'POST /devicerecharge',
  changeProject: 'POST /devicereproject',
  changeFirmwareVersion: 'POST /devicerefirmv',
  changeLastServingTime: 'POST /devicereservetime',
  changeNote: 'POST /devicenote',
  deleteimeidevices: 'POST /devicedelete',
  createdevice: 'POST /devicesadd',
  devicehistory: 'POST /devicehistory',
  gethistorydata: 'POST /gethistorydata',
  getresolvedhistorydata: 'POST /getresolvedhistorydata',
  getrealtimedata: 'POST /getrealtimedata',
  ImOnline: 'POST /ImOnline',
  subUpload: 'POST /subUpload',
  unsubUpload: 'POST /unsubUpload',

  //workers
  // getProjectCanAdd: 'POST /getProjectCanAdd',
  projectSetCanAdd: 'POST /projectSetCanAdd',
  projectSetWorkers: 'POST /projectSetWorkers',
  projectGetWorkers: 'POST /projectGetWorkers',
  workergetAllProject: 'POST /workergetAllProject',
  workergetDevices: 'POST /workergetDevices',
  workerInputImei: 'POST /workerInputImei',

  queryAllMsg: 'POST /queryAllMsg',
  queryTodayMsg: 'POST /queryTodayMsg',
  fetchdetail: 'POST /fetchdetail',
  getRedisInfo: 'POST /getRedisInfo',

  projects: 'POST /projects',
  projectrename: 'POST /projectrename',
  deviceregeo: 'POST /deviceregeo',
  reproject: 'POST /devicereproject',
  newproject: 'POST /projectadd',
  deleteproject: 'POST /projectdelete',
  movetorb: 'POST /movetorb',
  rbrestore: 'POST /rbrestore',
  queryuser: 'POST /queryuser',
  disputer: 'POST /devicegive',
  queryalluser: 'POST /queryalluser',
  getuserauths: 'POST /getuserauths',
  setuserauth: 'POST /setuserauth',
  queryauths: 'POST /queryrole',
  setauths: 'POST /setauth',
  getUnReadMsgs: 'POST /getUnReadMsgs',
  clearUnread: 'POST /clearUnread',
  clearAllunread: 'POST /clearAllunread',

  getallusers: 'POST /getallusers',

  queryPostList: '/posts',

  queryDashboard: 'POST /getdashboard',
}
